package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.CoursePreviewDto;

import java.io.File;

//课程发布相关接口
public interface CoursePublishService {
    /**
     * @param courseId 课程id
     * @return
     */
    public CoursePreviewDto getCoursePreviewInfo(Long courseId);

    public void commitAudit(Long companyId,Long courseId);

    public void publish(Long companyId,Long courseId);

    //课程静态化
    public File generateCourseHtml(Long courseId);
    //上传课程静态化页面
    public void uploadCourseHtml(Long courseId,File file);
}
